﻿using Domain.Sys;
using Infrastructure.Dapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IRepository.Sys
{
    public interface IModuleRepository : IRepositoryBase<Module>
    {
        Task<List<Module>> GetByParentIdAsync(Module parm);
        List<Module> GetByParentId(Module parm);
        Task<List<string>> GetUserModule(string userId);
        bool CheckRoleControllerAction(string userId, string pageUrl);
    }
}
